package com.guchenbo.study.aop;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 *
 *
 * @Author guchenbo
 * @Date 2019/8/16.
 */
public class App {

    public static void main(String[] args) {
        String path = "application.xml";
        ClassPathXmlApplicationContext applicationContext =
                        new ClassPathXmlApplicationContext(path);

        applicationContext.refresh();
//        UserService userService = (UserService) applicationContext.getBean("userServiceProxy");
//        userService.user();
//        userService.error();

    }
}
